<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="/my/sharkcms/Public/bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css" />

<link href="/my/sharkcms/Public/home/css/style.css" rel="stylesheet" type="text/css" />
<script src="/my/sharkcms/Public/js/jquery-1.8.3.min.js"></script>
<title><?php echo __SYSTEMNAME__; echo ($pageconfig["tittle"]); ?></title>
<script>
$(document).ready(function(){
   $('.outlogin').click(function(){                    //退出登录页面
      $.post("/my/sharkcms/index.php/Home/Index/outlogin",function(data){
	     $(".logininfor").html('<a href="<?php echo ('Index/login');?>">登&nbsp;录</a>|<a href="<?php echo ('Index/reg');?>">注册</a>');
	  });
	  return false;
   });
});
</script>

</head>

<body>



<link href="/my/sharkcms/Public/home/css/login.css" rel="stylesheet" type="text/css" />
<div class="login_head"><a href="/my/sharkcms"><img src="/my/sharkcms/Public/home/images/logo.png" class="fl" /></a>&nbsp;&nbsp;欢迎登录</div>
<script>
 $(document).ready(function(){
 if($(".username").val().length!=0){$(".username").after('<div class="x_clesr"></div>');}
 $(".x_clesr").click(function(){
    $(this).css({"visibility":"hidden"});
    $(".username").val('');
 });
 
 
	var $errormsg='';                        //用户名和密码的检测
	$('.login_button').click(function(){

    if($(".username").val()==""||$(".userpsd").val()==""){
	   loginerror("用户名和密码不能为空");
	}else{
       if(!/^\w{4,}/.test($(".username").val())){
	      $(".username").parent().css({"border":"1px solid #E4393C"});
		  $(".username").prev().css({"border-right":"1px solid #E4393C"});
		  loginerror("用户名不正确");
	   }else if(!/^(\w){6,18}/.test($(".userpsd").val())){
	      $(".userpsd").parent().css({"border":"1px solid #E4393C"});
		  $(".userpsd").prev().css({"border-right":"1px solid #E4393C"});
		  loginerror("密码不正确");
	   }else{$('.loginform').submit();}
	}
	return false;  	
	}); 
 });
 function loginerror ($errormsg){
	      $(".login_wrap_warn").html('<b></b>'+$errormsg);
		  $(".login_wrap_warn").css({"background":"#FFEBEB","border":"1px solid #E4393C","color":"#E4393C"});
		  $(".login_wrap_warn b").css({"backgroundPosition":"-104px -48px"});
		  return false;
 }
</script>

<div id="login">
    <div class="login_main">
	  <div class="login_wrap">
	  <form class="xk_login loginform"   action="<?php echo U('Public/doLogin');?>" method="post">
	        <div class="login_wrap_head">
			     <font class="fl"><?php echo __SYSTEMNAME__;?>会员</font>
				 <span><b></b><a class="colorred" href="/my/sharkcms/index.php/Home/Index/reg">立即注册</a></span>
			</div>
			<div class="login_wrap_warn"><b></b>公共场所不建议自动登录，以防账号丢失</div>
			<div class="login_wrap_loginname">
			     <label class="labelbase userlabel1"></label>
				 <input type="text" class="intext username" value="<?php echo ($username); ?>"  placeholder="邮箱/用户名/已验证手机" name="username"   />
				 <input type="hidden"  value="<?php echo I('get.from');?>"   name="from"   />
				 
			</div>
			<div class="login_wrap_loginpsd">
			     <label class="labelbase  psdlabel1"></label>
				 <input type="password" class="intext userpsd" placeholder="密码"  name="userpsd"/>
				 
			</div>
			<div class="login_wrap_extra">
			     <span class="fl"><input  type="checkbox"/><label>自动登录<?php echo ($errmsg); ?></label></span>
				 <span class="fl"><input  type="checkbox"/><label>安全控件登录</label></span>
				 <span class="fr forget">忘记密码？</span>
			</div>
			<div class="loginbtn">
			      <a href="javascript:;" class="login_button">登&nbsp;&nbsp;&nbsp;&nbsp;录</a>
			</div>
		<div class="login_bottomtext">
			     <font class="lightgray">使用其他合作网站账号登录<?php echo __SYSTEMNAME__;?></font><br />
			 <font class="lightgray f13 fl"><a href="#">网银钱包</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a href="#">QQ</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a href="#">其他</a></font>
			 <b class="fl"></b>		  </div>
	  
	  
	  
	  
	  
	  </form>
	  </div>
	  <div class="login_main_l"></div>
	</div>
</div>

<div class="foot">
   <div class="foot_title">
   	    <div class="foot_main foot_titleli">
   	    	  <ul>
   	    	  	   <li class="fl">
   	    	  	   	   <span class="footicon">霞</span>
   	    	  	   	   <span class="foottitle">品质保证不错不错</span>
   	    	  	   </li>
   	    	  	   <li class="fl">
   	    	  	   	   <span class="footicon">客</span>
   	    	  	   	   <span class="foottitle">物超所值不错不错</span>
   	    	  	   </li>
   	    	  	   <li class="fl">
   	    	  	   	   <span class="footicon">网</span>
   	    	  	   	   <span class="foottitle">无理由退货不错不错</span>
   	    	  	   </li>
   	    	  	   <li class="fl">
   	    	  	   	   <span class="footicon">络</span>
   	    	  	   	   <span class="foottitle">不错不错不错不错</span>
   	    	  	   </li>
   	    	  </ul>
   	    </div>
   </div>
   <div style="background:#fff;">
    	<div class="foot_main foot_wrap">
    	      <ul>
    	      	  <li class="fl">
    	      	       <span class="title">购物指南</span>
    	      	       <br/>购物流程
    	      	       <br/>会员介绍
    	      	       <br/>生活旅行/团购
    	      	       <br/>常见问题
    	      	       <br/>大家电
    	      	       <br/>联系客服
    	      	  </li>
    	      	  <li class="fl">
    	      	       <span class="title">购物指南</span>
    	      	       <br/>购物流程
    	      	       <br/>会员介绍
    	      	       <br/>生活旅行/团购
    	      	       <br/>常见问题
    	      	       <br/>大家电
    	      	       <br/>联系客服
    	      	  </li>
    	      	  <li class="fl">
    	      	       <span class="title">购物指南</span>
    	      	       <br/>购物流程
    	      	       <br/>会员介绍
    	      	       <br/>生活旅行/团购
    	      	       <br/>常见问题
    	      	       <br/>大家电
    	      	       <br/>联系客服
    	      	  </li>
    	      	  <li class="fl">
    	      	       <span class="title">购物指南</span>
    	      	       <br/>购物流程
    	      	       <br/>会员介绍
    	      	       <br/>生活旅行/团购
    	      	       <br/>常见问题
    	      	       <br/>大家电
    	      	       <br/>联系客服
    	      	  </li>
    	      	  <li class="fl">
    	      	       <span class="title">购物指南</span>
    	      	       <br/>购物流程
    	      	       <br/>会员介绍
    	      	       <br/>生活旅行/团购
    	      	       <br/>常见问题
    	      	       <br/>大家电
    	      	       <br/>联系客服
    	      	  </li>
    	      </ul>
    	</div>
    </div>
    <div class="clear"></div>
    <div>
    	<div class="foot_main" align="center" style="height:50px; line-height:50px;">
    		Copyright © 2016-2025 霞客网络 版权所有 保留一切权利 备案号:闽00-785356985号
    	</div>
    </div>

</div>
</body>
</html>